#ifndef SLANNEWPROJECTWIDGET_H
#define SLANNEWPROJECTWIDGET_H


#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>
//class QDialog;


class SlanNewProjectWidget : public QDialog
{

    Q_OBJECT

public:
    SlanNewProjectWidget(QWidget *parent = 0);
    QString getName();
    QString getDirPath();

private:
    QLabel * pNameLabel;
    QLabel * pPathLabel;

    QLineEdit * pNameEdit;
    QLineEdit * pPathEdit;

    QPushButton * pathButton;
    QPushButton * pOkButton;
    QPushButton * pCancelButton;

    QString projectName;
    QString projectDirPath;

private slots:
    void slotSelectDir();
    void slotOk();
    void slotSetOkButton(const QString &text);

};


#endif // SLANNEWPROJECTWIDGET_H
